package com.junbao.androidinterview.mvp;

/**
 * author : Majunbao
 * github : https://github.com/MaJunBaox
 * time   : 2022/8/12 2:18 下午
 * desc   :
 */
public class BasePresenter<IView extends  BaseView> {
    protected IView view;

    public void attach(IView view){
        this.view = view;
    }
    public void detach(){
        view = null;
    }

}
